< previous page page_27 next page >

Page 27
12181-0027a.gif
Figure 1.14.
Adding the code to access the Animation control.
Finally, execute your application and click the Start button. You should see the file-copy animation as shown in Figure 1.15. When you're ready, click the Stop button to end the animation.
12181-0027b.gif
Figure 1.15.
Informing the user that a file-copy
process is in progress.
In addition to playing the animation until your code issues the Stop method, you can set three optional parameters of the Animation control in this order:
Repeat specifies the numbers of times the animation will be repeated.
Start sets the frame where the animation will start.
Stop sets the frame where the animation will end.

 
< previous page page_27 next page >

If you like this book, buy it!